<style>
/* 重写样式 */
.fui-header.block {
    display: block;
}

.fui-tab {
    margin: 0;
}

.fui-tab a {
    height: 2.2rem;
    line-height: 2.2rem;
}

.fui-tab:after {
    display: none;
}
.nickname {
    color: #50b6fe;
}
    .shop-index-page .menu {height: auto; background: #fff;}
    .shop-index-page .menu .item {height: auto; width: 1%; padding: 0.5rem 0; margin: 0; font-size: 0.7rem; color: #636363; text-align: center; display: table-cell;position: relative;}
    .shop-index-page .menu .item:after  {font-size: 0.7rem;position: absolute;content: '';left:-1px;top:0.5rem;bottom:0.5rem;border-left:1px solid #d9d9d9;}
    .content-empty{padding:1rem 0;margin:0;}
source{
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
}
.btn.btn-success{background:#F5F0FF}
.btn.btn-success, .jy-btn1{border-radius:1rem;background:linear-gradient(95.84deg, #EDF6FF 5.59%, #F0F3FF 51.42%, #F5F0FF 97.24%)}
.btn.btn-blue, .jy-btn2{border-radius:1rem;background:linear-gradient(136deg, #7783EA, #4e6ef2, #7274f9, #9f66ff)}
.jy-topbg{background:linear-gradient(to bottom, #f8dfd8, #F5F0FF, #F0F3FF, #f7f7f7)}
</style>
<style>
	.btn{border-radius: 100%;border: 0 solid #ebebeb;margin: 0.25rem;}
	.btn-logo.active{border: 2px solid #3263fe;}
	.btn-logo {
			padding:0px;
			height:2rem;
			width:2rem;
			border-radius: 100%;
			border: 2px solid #ebebeb;
	}
	.label-gray{
		background-color:#f2f2f2;
		color:#333;
		border-radius:1rem;
		padding:0.3rem;
		font-size:0.7rem
	}
	.label-gray.active{
		background-color:#e8fcf8;
		color:#18bc9c;
	}
</style>
<div class='fui-page fui-page-current'>
	<div class="fui-content">
	<div class="jy-topbg" style="top:0;padding-top: 2.5rem;">
	<div class="jy-content">
	<div class="radius" style="background: #fff;">
		<div class="fui-cellone">
			<div class="fui-cellone-lable" style="width:auto;padding-right: 0.5rem;">
				<img style="border-radius: 100%;width:5rem;height:5rem;margin-top: -2rem;" ng-src="{{tomedia(pagedata.post.logo) || '../addons/jy_aiagent/resource/images/nv1.png'}}" />
			</div>
			<div class="fui-cellone-info">
				<div class="bold overflow-h">{{pagedata.goods.title}}  <i class="icon icon-shuru bold red" ng-click="pagedata.show2upgoods=true"></i></div>
				<div class="gray overflow-h">{{pagedata.post.title||'角色名'}}</div>
				<div class="gray" style="color:#999;font-size:0.65rem;line-height:1rem">
					{{pagedata.post.llm_modeltitle}}<span class="bold" style="color:#f8dfd8;font-size:1rem;padding: 0 0.2rem;">·</span>{{pagedata.post.voicetitle}}<span class="bold" style="color:#f8dfd8;font-size:1rem;padding: 0 0.2rem;">·</span>{{pagedata.post.languagetitle}}
				</div>
			</div>
		</div>
		<div class="fui-cellone" style="padding-top: 0;">
			<div class="fui-cellone-text overflow-h2" style="-webkit-line-clamp: 7;color:#999;font-size:0.75rem">
				{{pagedata.post.desc}}
			</div>
		</div>
		<div class="fui-cellone" style="padding-top: 0;">
			<div class="fui-cellone-text" style="padding-right:0.5rem">
				<div class="radius c jy-btn1" ng-click="access_json('/editagent//id='+pagedata.post.id+'&goodsid='+pagedata.goods.id)" style="color:#7783EA;padding:0.5rem">
					<i class="icon icon-bianji"></i>编辑角色
				</div>
			</div>	
			<div class="fui-cellone-text">
				<div class="radius c jy-btn2" ng-click="access_json('/agent//goodsid='+pagedata.goods.id)" style="color:#fff;padding:0.5rem">
					<i class="icon icon-qiehuan"></i>切换角色
				</div>
			</div>
		</div>
	</div>
	<div class="fui-cellone radius" style="background: #fff;margin-top:0.5rem" ng-click="access_json('/shengwen//agentid='+pagedata.post.id);">
			<div class="fui-cellone-text" style="-webkit-line-clamp: 7;color:#999;font-size:0.7rem">
				声纹配置
			</div>
			<div class="fui-cellone-remark">
				配置
			</div>
	</div>
	<div class="fui-cellone radius" style="background: #fff;margin-top:0.5rem" ng-click="access_json('/chatlog//agentid='+pagedata.post.id);">
			<div class="fui-cellone-text" style="-webkit-line-clamp: 7;color:#999;font-size:0.7rem">
				历史对话
			</div>
			<div class="fui-cellone-remark">
				查看
			</div>
	</div>
	<div class="radius" style="padding-bottom:1rem;">
	<div class="weui_btn_area" style="margin-top:1rem">
		<a class="weui_btn weui_btn_primary bold  jy-btn2" style="color:#fff;" href="javascript:" id="showTooltips" ng-click="access_json('/index/');">返回设备中心</a>
	</div>
	</div>
	</div>
	<div ng-include="sys_html('common/_copyright',true)"></div>
</div>
</div>
</div>
<div ng-include="sys_html('common/_qieagent')"></div>
<div ng-include="sys_html('common/_footer')"></div>
<div ng-if="pagedata.show2upgoods" class="popup">
	<div class="popup-body">
		<div class="popup-center radius" style="width: 80%;">
		<div class="fui-cell-group" style="margin-top:1rem;-webkit-overflow-scrolling: touch;">
		<div class="c bold">修改设备名</div>
		<div class="fui-cell">
		<div class="fui-cell-text c">
			<input type="text" class='fui-input' style="margin-left:0;background: #f2f2f2;" placeholder="请输入设备名称" ng-model="pagedata.goods.title"/>
		</div>
		</div>
		</div>
		<div class="fui-cellone" style="padding-top:0.5rem">
					<div class="fui-cellone-text" style="padding-right:0.5rem">
					<div class="radius c jy-btn1" ng-click="pagedata.show2upgoods=false;" style="color:#7783EA;padding:0.5rem">
						取消
					</div>
					</div>	
					<div class="fui-cellone-text">
					<div class="radius c jy-btn2" ng-click="pagedata.goods.goodslogid=pagedata.goods.id;post_json('jy_aiagent/index/bendiupgoods/',pagedata.goods)" style="color:#fff;padding:0.5rem">
						确定
					</div>
					</div>	
		</div>
		</div>
	</div>
</div>